<script src="images/swiper.jquery.min.js"></script>
<div class="qf-broadcast">
	<div class="broadcast-inner">
		<div class="pic">
			<img src="<{$setting.ad_pic}>" alt="<{$setting.title}>">
		</div>
		<div class="bt-cont">
			<ul class="swiper-wrapper broadcast-list">
			<{foreach from=$data item=btitem key=key name=btitem}>
				<li class="swiper-slide broadcast-item"><a href="<{$btitem.tolink}>"><{$btitem.text}></a></li>
			<{/foreach}>
			</ul>
		</div>
	</div>
</div>
<script>
	$(document).ready(function(){
	var mySwiper = new Swiper('.bt-cont', {
		effect : 'fade',
		autoplay: 4000,//可选选项，自动滑动
		loop : true,
		width:200,
		noSwiping : true,
		noSwipingClass : 'swiper-slide',
	})
})
</script>